import request from '../utils/request-new'

interface IGuide{
  id: number,
  name: string,
  labelList: string[],
  kvalue: string
}

// 获取指南列表
export const getGuideList = (data) => {
  return request<IGuide[]>({
    url: '/model/list',
    method: 'GET',
    data
  })
}

// 获取热门指南 
export const getHotestGuideList = () => {
  return request<IGuide[]>({
    url: '/model/hotList',
    method: 'GET'
  })
}

export const getStatus = () => {
  return request({
    url: '/config/getStatus',
    method: 'GET'
  })
}